.xy-inline, img {
    display: inline-block;
    vertical-align: middle
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400
}

.xy-edge, .xy-header, .xy-inline, .xy-main {
    position: relative
}

.xy-btn, .xy-edge, .xy-inline, img {
    vertical-align: middle
}

blockquote, body, button, dd, div, dl, dt, form, h1, h2, h3, h4, h5, h6, input, li, ol, p, pre, td, textarea, th, ul {
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
}

a:active, a:hover {
    outline: 0
}

img {
    border: none
}

li {
    list-style: none
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

h4, h5, h6 {
    font-size: 100%
}

button, input, optgroup, option, select, textarea {
    font-family: inherit;
    font-size: inherit;
    font-style: inherit;
    font-weight: inherit;
    outline: 0
}

pre {
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word
}

body {
    line-height: 24px;
    font: 14px Helvetica Neue, Helvetica, PingFang SC, \5FAE\8F6F\96C5\9ED1, Tahoma, Arial, sans-serif
}

hr {
    height: 1px;
    margin: 10px 0;
    border: 0;
    clear: both
}

a {
    color: #333;
    text-decoration: none
}

a:hover {
    color: #777
}

a cite {
    font-style: normal;
    *cursor: pointer
}

div {
    display: block;
}

/*统一样式设置完成*/
/*checkbox*/
.datagrid-cell-check input[type="checkbox"], .datagrid-header-check input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    visibility: hidden;
}

td > .datagrid-cell-check > label > i, td > .datagrid-header-check > label > i {
    position: relative;
    top: -14px;
    left: 0px;
    width: 16px;
    height: 16px;
    display: inline-block;
    border: 1px solid #d2d2d2;
    color: #fff;
    font-size: 12px;
    line-height: 16px;
    border-radius: 2px;
    text-align: center;
}

.datagrid-cell-check > label > i:hover, .datagrid-header-check > label > i:hover {
    border: 1px solid #5FB878;
}

.datagrid-cell input[type="checkbox"], .datagrid-cell input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    visibility: hidden;
}

.datagrid-cell > label > input[type="checkbox"] + i, .datagrid-cell > label > input[type="checkbox"] + i {
    position: relative;
    left: 0px;
    width: 16px;
    height: 16px;
    display: inline-block;
    border: 1px solid #d2d2d2;
    color: #fff;
    font-size: 12px;
    line-height: 16px;
    border-radius: 2px;
    text-align: center;
}

.datagrid-cell > label > input[type="checkbox"] + i:hover, .datagrid-cell > label > input[type="checkbox"] + i:hover {
    border: 1px solid #5FB878;
}

/*工具栏*/
.xy-toolbar {
    width: 100%;
    height: 42px;
    background-color: #F5F5F5;
    vertical-align: center
}

.xy-toolbar .xy-toolbar-left, .xy-toolbar .xy-toolbar-right {
    position: absolute;
    top: 0;
    height: 42px;

    /*width:50%;*/
    /*vertical-align: center*/
}

.xy-toolbar .xy-toolbar-left {
    left: 35px;
    line-height: 42px;
}

.xy-toolbar .xy-toolbar-right {
    padding-top: 5px;
    right: 20px;
}

/*工具栏中按钮设置*/
/*.xy-toolbar .layui-btn {*/
/*height: 30px;*/
/*margin: 0px 5px;*/
/*}*/

/*工具栏设置结束*/
.xy-button {
    vertical-align: middle;
    display: inline-block;
    height: 30px;
    /*line-height: 30px;*/
    margin-left: 15px;
    padding: 0 14px;
    background-color: #009688;
    color: #fff;
    white-space: nowrap;
    text-align: center;
    font-size: 16px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
.xy-button span{
    font-size: 14px;
}